package com.shengyin.ec.model.dao.order;


import org.springframework.stereotype.Repository;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.shengyin.ec.model.dao.BaseDaoImpl;
import com.shengyin.ec.model.dao.goods.GoodsTypeDao;
import com.shengyin.ec.model.entity.GoodsType;
import com.shengyin.ec.model.entity.OrderItem;

@Repository("OrderDetailDao")
public class OrderDetailDaoImpl extends BaseDaoImpl<OrderItem> implements OrderDetailDao {
	
	public List<OrderItem> getOrderDetailByOrderId(long id){
		return super.find("from OrderDetail od where od.id='"+id+"'");
	}
}
